﻿<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:page="urn:page">
	<xsl:output method="html" encoding="utf-8" />
	<xsl:param name="rowcount"/>
	<!--数据库总记录数-->
	<xsl:param name="maxrow"/>
	<!--每页记录数-->
	<xsl:param name="curpage"/>
	<!--当前页码-->
	<xsl:param name="param"/>
	<!--引入 param 参数-->
	<xsl:param name="templatename"/>
	<!--Label.xml 模块名称-->
	<xsl:param name="orderby"/>
	<!--Label.xml orderby 参数-->
	<xsl:param name="where"/>
	<!--Label.xml where 参数-->
	<xsl:param name="runtime"/>
	<!--运行时长-->
	<xsl:template match="/">
		<!--外围边框-->
		<div class="box"> 
			<!--栏目列表-->
			<div class="title">
				<h3>批量设置头条新闻</h3>
				<ul>
					<li><a href="###" id="btnClose">关闭</a></li>
				</ul>
			</div>
			<form id="frmBatchTopSet">
			<div class="content" id="datalist">
				<div class="table">
					<table width="100%" border="0" cellspacing="1" cellpadding="0">
						<thead>
							<tr>
								<td>文章编号</td>
								<td>文章标题</td>
								<!--							<td>头条标题</td>
							<td>关联信息</td>--> 
							</tr>
						</thead>
						<xsl:if test="count(rows/row)!=0">
							<tbody>
								<xsl:for-each select="rows/row">
									<tr class="{page:xIIF(position() mod 2 =1,'','odd')}" title="编号{id}">
										<td><xsl:value-of select="id"/></td>
										<th><a href="view.html?id={id}" style="{page:xIIF(f_isred=1,'color:red','')}"><xsl:value-of select="f_title"/></a></th>
										<!--							<td><a href="#" class="icon ad">&nbsp;</a></td>
							<td><a href="#" class="icon modify">&nbsp;</a></td>--> 
									</tr>
								</xsl:for-each>
							</tbody>
						</xsl:if>
					</table>
					<div class="search" >
						<ul class="fl" style="padding:10px 0; ">
							<li>批量设置到的栏目名称:</li>
							<li>
								<input name="channelname" type="text" class="order" id="channelname"  />
								<input name="channelid" type="hidden" class="order" id="channelid"  />
								<input name="articleid" type="hidden" class="order" id="articleid" value="{page:xRequest('id')}"  />
							</li>
						</ul>
						<ul class="fr" style="padding:10px 0; ">
							<li><a href="###" class="btn2" id="btnTopSetSave">保存</a></li>
						</ul>
					</div>
				</div>
			</div>
			</form>
		</div>
	</xsl:template>
</xsl:stylesheet>
